package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;
import com.itheima.pojo.User;

import java.util.List;
import java.util.Map;

public interface UserDao {
    User findByUserName(String Username);
    @Deprecated
    User findByUserName2(String Username);
    User findUserByMemberId(Integer memberId);
    // 查询所有的健康管理师
    List<Map<String,String>> findHealthManager();
    Page<User> findPage(String queryString);
    void add(User user);
    void edit(User user);
    void delete(Integer userId);
}
